@extends('Home/Layout/baseusercenter')

@section('title', '个人中心')

{{--  首页主体  --}}
@section('main')

@section('title2', '个人中心')
            <div class="uc-content">
                <div class="uc-panel account-panel">
                    <div class="user-info">
                        <a href="javascrpit:;"><img class="headpic" src="{{asset('Home/uploads/4.jpg')}}" alt="头像" /></a>
                        <div class="info">
                            <div>
                                <span class="name">{{$userinfo['username']}}</span>
                                <span class="wel">
                                    @if(date('H') >= 4 and date('H') < 12)
                                        上午好
                                    @elseif(date('H') > 12 and date('H') < 18)
                                        下午好
                                    @elseif(date('H') > 18 and date('H') < 24)
                                        晚上好
                                    @elseif(date('H') >= 0 and date('H') <= 4)
                                        夜猫赶紧睡
                                    @endif
                                </span>
                            </div>
                            <a href="javascrpit:;" class="label">
                                @if($userinfo['user_level_id'] == 1)
                                    普通会员
                                @elseif($userinfo['user_level_id'] == 2)
                                    VIP
                                @elseif($userinfo['user_level_id'] == 3)
                                    钻石VIP
                                @endif
                            </a>
                            <a href="{{url('/account')}}" class="edit">修改个人信息</a>
                        </div>
                    </div>
                    <div class="quick-menu">
                        <div class="item">
                            <a href="javascrpit:;">
                                <img class="ico" src="{{asset('Home/img/ico/uc-phone.png')}}"/>
                                @php
                                    $phone = $userinfo['phone'];
                                    $mdphone = substr_replace($phone,'****', 4, 4);
                                    echo '手机号码:'.$mdphone;
                                @endphp
                            </a>
                        </div>
                        <div class="item">
                            <a href="">
                                <img class="ico" src="{{asset('Home/img/ico/uc-dizhi.png')}}"/>我的收货地址
                            </a>
                        </div>
                    </div>
                </div>

                <div class="uc-panel home-order">
                    <div class="col">
                        <img src="{{asset('Home/img/ico/uc-order1.png')}}" class="ico" />
                        <div class="bd">
                            <div class="tit">待支付的订单：<span class="num">1</span></div>
                            <a class="more" href="{{url('/odState0')}}">查看待支付订单></a>
                        </div>
                    </div>
                    <div class="col">
                        <img src="{{asset('Home/img/ico/uc-order2.png')}}" class="ico" />
                        <div class="bd">
                            <div class="tit">待发货的订单：<span class="num">1</span></div>
                            <a class="more" href="{{url('/odState1')}}">查看待支付订单></a>
                        </div>
                    </div>
                    <div class="col">
                        <img src="{{asset('Home/img/ico/uc-order3.png')}}" class="ico" />
                        <div class="bd">
                            <div class="tit">待收货的订单：<span class="num">1</span></div>
                            <a class="more" href="{{url('/odState2')}}">查看待支付订单></a>
                        </div>
                    </div>
                </div>

                <div class="uc-panel home-wuliu">
                    <div class="home-wuliu-hd"> 我的物流</div>
                    <div class="home-wuliu-bd">
                        <div class="item">
                            <a href="" class="confirm ui-btn-theme uc-btn-md">确认收货</a>
                            <div class="cont">
                                <img src="uploads/3.jpg" alt="" class="figure" />
                                <div class="info">
                                    <div class="status">快件已签收，感谢您使用中通快递！</div>
                                    <div>
                                        <span class="time">2016-05-20  16:04:28</span>
                                        <a href="">查看物流明细</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="item">
                            <a href="" class="confirm ui-btn-theme uc-btn-md">确认收货</a>
                            <div class="cont">
                                <img src="uploads/3.jpg" alt="" class="figure" />
                                <div class="info">
                                    <div class="status">快件已签收，感谢您使用中通快递！</div>
                                    <div>
                                        <span class="time">2016-05-20  16:04:28</span>
                                        <a href="">查看物流明细</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="item">
                            <a href="" class="confirm ui-btn-theme uc-btn-md">确认收货</a>
                            <div class="cont">
                                <img src="uploads/3.jpg" alt="" class="figure" />
                                <div class="info">
                                    <div class="status">快件已签收，感谢您使用中通快递！</div>
                                    <div>
                                        <span class="time">2016-05-20  16:04:28</span>
                                        <a href="">查看物流明细</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection

@section('footer-js')


@endsection
